package network;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedList;

import objects.Enemy;
import objects.Player;

import map.Item;
import map.Map;
import map.Level;

public class ServerPackage implements Serializable {

	private LinkedList<Player> listPlayers;
	private LinkedList<Enemy> listEnemies;
	private LinkedList<Item> listItems;
	private Level level;
	private Commands command;
	
	public ServerPackage(LinkedList<Player> listPlayers, LinkedList<Enemy> listEnemies, LinkedList<Item> listItems, Commands command) {
		this.listPlayers = listPlayers;
		this.listEnemies = listEnemies;
		this.listItems = listItems;
		this.command = command;
	}
	
	public ServerPackage(LinkedList<Player> listPlayers, LinkedList<Enemy> listEnemies, Commands command, Level level) {
		this.listPlayers = listPlayers;
		this.listEnemies = listEnemies;
		this.level = level;
		this.command = command;
	}

	public LinkedList<Player> getListPlayers() {
		return listPlayers;
	}

	public void setListPlayers(LinkedList<Player> listPlayers) {
		this.listPlayers = listPlayers;
	}

	public LinkedList<Enemy> getListEnemies() {
		return listEnemies;
	}

	public void setListEnemies(LinkedList<Enemy> listEnemies) {
		this.listEnemies = listEnemies;
	}

	public Commands getCommand() {
		return command;
	}

	public void setCommand(Commands command) {
		this.command = command;
	}

	public Level getLevel() {
		return level;
	}

	public void setLevel(Level level) {
		this.level = level;
	}

	public LinkedList<Item> getListItems() {
		return listItems;
	}

	public void setListItems(LinkedList<Item> listItems) {
		this.listItems = listItems;
	}
	
	
	
}
